Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@clerk/types
Advanced tools
This package provides the TypeScript type declarations for Clerk libraries.
It is worth noting that Clerk packages automatically include their type declarations when installed so adding this package manually is not typically necessary.
npm install --save-dev @clerk/types
npm run build
To build types in watch mode, run the following:
npm run dev
Example implementation:
import type { OAuthStrategy } from '@clerk/types';
export type OAuthProps = {
oAuthOptions: OAuthStrategy[];
error?: string;
setError?: React.Dispatch<React.SetStateAction<string | undefined>>;
};
For further details and examples, please refer to our Documentation.
You can get in touch with us in any of the following ways:
We're open to all community contributions! If you'd like to contribute in any way, please read our contribution guidelines.
@clerk/types
follows good practices of security, but 100% security cannot be assured.
@clerk/types
is provided "as is" without any warranty. Use at your own risk.
For more information and to report security issues, please refer to our security documentation.
This project is licensed under the MIT license.
See LICENSE for more information.
FAQs
Typings for Clerk libraries.
The npm package @clerk/types receives a total of 341,132 weekly downloads. As such, @clerk/types popularity was classified as popular.
We found that @clerk/types demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.